package org.opentcs.kcvehicle.communication.kc.common.byteutils;

public class CommonFunctions {
  /**
   * a 整除 b ，如果有余数+1
   */
  public static Integer exactDivision(Integer a, Integer b) {

    int c = a / b;

    if (a % b != 0) {
      c = a / b + 1;
    }
    return c;
  }
}
